package com.atguigu.springCloud.dao;

import com.atguigu.springCloud.entitis.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author zgw
 * @date 2020/3/7 20:19
 */
@Mapper
public interface PaymentDao {
    public int create(Payment payment); //增

    public Payment getPaymentById(@Param("id") Long id); //查
}
